<!DOCTYPE html>
<html>
<head>
    <title></title>
    <#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
            <div class="form-group">
                <div class="col-sm-2 control-label">顾客生日</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bFlowCustomers.birthday" placeholder="顾客生日"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">捕获时间</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bFlowCustomers.captureAt" placeholder="捕获时间"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bFlowCustomers.createdAt" placeholder=""/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">会员组id</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bFlowCustomers.customerGroupId"
                           placeholder="会员组id"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"> 顾客进出次数数量</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bFlowCustomers.eventsCount"
                           placeholder=" 顾客进出次数数量"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">性别,0代表女,1代表男</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bFlowCustomers.gender" placeholder="性别,0代表女,1代表男"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">顾客头像地址</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bFlowCustomers.originalFaceUrl"
                           placeholder="顾客头像地址"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">顾客联系方式</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bFlowCustomers.phone" placeholder="顾客联系方式"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">顾客姓名</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bFlowCustomers.name" placeholder="顾客姓名"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">最后捕获时间</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bFlowCustomers.lastCaptureAt"
                           placeholder="最后捕获时间"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">最后一个事件设备名</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bFlowCustomers.lastEventDeviceName"
                           placeholder="最后一个事件设备名"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">最后一个事件商店名</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bFlowCustomers.lastEventShopName"
                           placeholder="最后一个事件商店名"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">记事</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bFlowCustomers.note" placeholder="记事"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">顾客id信息</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bFlowCustomers.personId" placeholder="顾客id信息"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">状态</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bFlowCustomers.status" placeholder="状态"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">修改时间</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bFlowCustomers.updatedAt" placeholder="修改时间"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/flow/bflowcustomers.js?_${.now?long}"></script>
</body>
</html>